package cn.growthgate.fgo.core.shiro;

import java.io.Serializable;

/**
 * 简单用户
 * 
 * @author GrowthGate
 * @since 2019年1月24日
 *
 */
public class SimpleUser implements Serializable {

	private static final long serialVersionUID = 8889311781984195947L;

	/**
	 * 主键id
	 */
	private Long id;

	/**
	 * 用户名
	 */
	private String username;

	/**
	 * 名字
	 */
	private String name;
	
	/**
	 * 头像url
	 */
	private String avatarUrl;

	public SimpleUser() {
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return avatarUrl
	 */
	public String getAvatarUrl() {
		return avatarUrl;
	}

	/**
	 * @param avatarUrl 要设置的 avatarUrl
	 */
	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}

}
